package com.proxy.proxyClass.impl;

import com.proxy.proxyClass.Poet;

/**
 * @Title: GrandPoet
 * @Author xiaowu
 * @Package com.proxy.proxyClass.impl
 * @Data 2024/5/21 10:38
 * @Description:
 */
public class GrandPoet implements Poet {
    private final String poetName;
    public GrandPoet(String poetName) {
        this.poetName = poetName;
    }

    @Override
    public void readPoet() {
        System.out.println(this.poetName+",伟大的诗人在读诗！");
    }

    @Override
    public void writePoet() {
        System.out.println(this.poetName+",伟大的诗人在写诗！");
    }

    @Override
    public void thinkDeeply() {
        System.out.println(this.poetName+",伟大的诗人在思考！");
    }
}
